package com.company.user;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user")
@Builder
@AllArgsConstructor
public class UserDO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String userId;
    private String userName;
    private String password;

    private String nickName;
    private String sex;
    private LocalDateTime birthday;
    private String deviceId;
    private String email;
    private Long memberExpireTime;

    private String mobile;
    private Boolean isGuest;
    private Boolean isMember;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
